import { useLoad } from '@tarojs/taro';
import { View, Text, Image } from '@tarojs/components';
import cssModule from './index.module.scss';

/**
 * @description 搜索
 * @author Shawn
 */

export default function SearchBox() {
  useLoad(() => {
    console.log('Page loaded.');
  });

  return (
    <View className={cssModule.container}>
      <View className={cssModule.searchBox}>
        <Image src='https://baoyouqun.cn/files/static/images/search.png' mode='aspectFill' />
        <Text className={cssModule.searchText}>请输入搜索内容</Text>
      </View>
    </View>
  );
}
